package com.cskaoyan.mapper;

import com.cskaoyan.bean.PermInfo;
import com.cskaoyan.bean.PermInfoExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PermInfoMapper {
    long countByExample(PermInfoExample example);

    int deleteByExample(PermInfoExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(PermInfo record);

    int insertSelective(PermInfo record);

    List<PermInfo> selectByExample(PermInfoExample example);

    PermInfo selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") PermInfo record, @Param("example") PermInfoExample example);

    int updateByExample(@Param("record") PermInfo record, @Param("example") PermInfoExample example);

    int updateByPrimaryKeySelective(PermInfo record);

    int updateByPrimaryKey(PermInfo record);
}